/* Footer Background and Gradient Styling */
/* Matches the exact colors from the photo */

#footer {
  background: 
    /* Glass-like light reflections */
    radial-gradient(ellipse 800px 200px at 20% 30%, rgba(146, 39, 208, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 600px 150px at 80% 70%, rgba(203, 77, 147, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 400px 100px at 50% 90%, rgba(146, 39, 208, 0.08) 0%, transparent 50%),
    /* Subtle glass highlights */
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, 0.01) 100%),
    /* Main dark gradient */
    linear-gradient(145deg, #0A0A0B 0%, #0D0D0E 25%, #12101C 50%, #0F0E14 75%, #0B0B0C 100%)
    #0D0D0E !important;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  padding-top: 1px;
}

/* Animated glass reflection effect */
#footer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse 300px 800px at 30% 20%, rgba(203, 77, 147, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse 400px 600px at 70% 80%, rgba(146, 39, 208, 0.06) 0%, transparent 40%);
  z-index: 0;
  animation: glass-shift 8s ease-in-out infinite;
  pointer-events: none;
}

/* Ensure content stays above the glass effect */
#footer .container,
#footer .footer-rows,
#footer .footer-bottom-full-width {
  position: relative;
  z-index: 1;
}

/* Glass shift animation for dynamic lighting */
@keyframes glass-shift {
  0%, 100% {
    transform: translate(-10%, -10%) rotate(0deg);
    opacity: 0.6;
  }
  25% {
    transform: translate(5%, -5%) rotate(1deg);
    opacity: 0.8;
  }
  50% {
    transform: translate(-5%, 5%) rotate(-1deg);
    opacity: 0.4;
  }
  75% {
    transform: translate(10%, -15%) rotate(0.5deg);
    opacity: 0.7;
  }
}

/* Thin top gradient line with significant upward glow effect and animations */
#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #9227D0, #CB4D93, #9227D0);
  background-size: 200% 100%;
  box-shadow: 
    0 -15px 30px rgba(146, 39, 208, 0.6),
    0 -8px 20px rgba(203, 77, 147, 0.5),
    0 -4px 12px rgba(146, 39, 208, 0.7),
    0 -2px 8px rgba(203, 77, 147, 0.8),
    0 -1px 4px rgba(146, 39, 208, 0.9);
  z-index: 1;
  animation: shimmer 3s ease-in-out infinite, pulse-glow 2s ease-in-out infinite alternate;
}

/* Shimmer animation - moves the gradient horizontally */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Pulse glow animation - varies the glow intensity */
@keyframes pulse-glow {
  0% {
    box-shadow: 
      0 -15px 30px rgba(146, 39, 208, 0.4),
      0 -8px 20px rgba(203, 77, 147, 0.3),
      0 -4px 12px rgba(146, 39, 208, 0.5),
      0 -2px 8px rgba(203, 77, 147, 0.6),
      0 -1px 4px rgba(146, 39, 208, 0.7);
  }
  100% {
    box-shadow: 
      0 -15px 30px rgba(146, 39, 208, 0.8),
      0 -8px 20px rgba(203, 77, 147, 0.7),
      0 -4px 12px rgba(146, 39, 208, 0.9),
      0 -2px 8px rgba(203, 77, 147, 1),
      0 -1px 4px rgba(146, 39, 208, 1);
  }
}

/* Sweep animation - creates a traveling light effect */
@keyframes sweep {
  0% {
    background-position: -100% 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    background-position: 100% 0;
    opacity: 0;
  }
}

/* Style the main footer container */
#footer .container {
  background-color: transparent;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

#footer .footer-rows {
  background-color: transparent !important;
}

/* BANNER BACKGROUND REMOVAL - Remove all backgrounds from banner elements */
#footer .custom-footer__banner1,
#footer .custom-footer__banner2, 
#footer .custom-footer__banner7,
#footer .custom-footer__banner10,
#footer .banner,
#footer .banner-wrapper {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Target all banner classes */
#footer [class*="custom-footer__banner"] {
  background: transparent !important;
  background-color: transparent !important;
}

/* Remove backgrounds from promo spans */
#footer span[data-ec-promo-id] {
  background: transparent !important;
  background-color: transparent !important;
}

/* Ensure all divs in footer have transparent backgrounds */
#footer .custom-footer div,
#footer .row div,
#footer .col-sm-6 div,
#footer .col-lg-3 div {
  background: transparent !important;
  background-color: transparent !important;
}

/* Footer bottom section styling with modern redesign to match the picture */
.footer-bottom-full-width {
  background: 
    linear-gradient(145deg, rgba(10, 10, 11, 0.9) 0%, rgba(13, 13, 14, 0.95) 50%, rgba(15, 14, 20, 0.9) 100%) !important;
  border-top: 1px solid #2E133E;
  margin-top: 20px;
  padding: 30px 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(1px);
}

/* Create a wrapper inside footer-bottom to control layout */
.footer-bottom {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px !important;
  padding: 25px 30px !important;
  backdrop-filter: blur(20px) !important;
  color: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Add purple gradient top border like other sections */
.footer-bottom::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg, #892CFF, #A459FF, #FF6B9D) !important;
  z-index: 1 !important;
}

/* Style the social media section that you added */
.footer-bottom-social-section {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-bottom: 8px !important;
  margin-top: 10px !important;
  padding-top: 15px !important;
  position: relative !important;
}

/* Add gradient separator line above social section */
.footer-bottom-social-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.1) 15%, 
    rgba(146, 39, 208, 0.4) 30%, 
    rgba(203, 77, 147, 0.5) 50%, 
    rgba(146, 39, 208, 0.4) 70%, 
    rgba(255, 255, 255, 0.1) 85%, 
    transparent 100%) !important;
  box-shadow: 0 0 8px rgba(146, 39, 208, 0.3) !important;
  z-index: 2 !important;
}

.footer-bottom-social-text {
  color: #ffffff !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

.footer-bottom-social-links {
  display: flex !important;
  gap: 12px !important;
  align-items: center !important;
}

.footer-bottom-social-icon {
  width: 34px !important;
  height: 34px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  text-decoration: none !important;
  backdrop-filter: blur(10px) !important;
}

.footer-bottom-social-icon:hover {
  background: rgba(146, 39, 208, 0.2) !important;
  border-color: #9227D0 !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(146, 39, 208, 0.3) !important;
}

.footer-bottom-social-icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: rgba(255, 255, 255, 0.8) !important;
  transition: all 0.3s ease !important;
}

.footer-bottom-social-icon:hover svg {
  fill: #A459FF !important;
  transform: scale(1.1) !important;
}

/* Create a flex container for copyright and shoptet to be on the same line */
.footer-bottom > span {
  display: inline-flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

/* Style the existing copyright */
.footer-bottom .copyright {
  color: #ffffff !important;
  text-align: left !important;
  font-size: 1.1rem !important;
  margin: 0 !important;
  flex: 1 !important;
}

.footer-bottom .copyright strong {
  color: #9227D0 !important;
}

/* Keep Shoptet signature on the right */
#signature {
  text-align: right !important;
  white-space: nowrap !important;
  margin-left: auto !important;
}

#signature a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.3s ease !important;
  text-decoration: none !important;
}

#signature a:hover {
  color: #CB4D93 !important;
}

/* Alternative approach - if the above doesn't work, use this CSS Grid layout */
.footer-bottom-full-width .container {
  display: grid !important;
  grid-template-areas: 
    "social social social"
    "copyright . shoptet" !important;
  grid-template-columns: 1fr auto 1fr !important;
  gap: 15px !important;
  align-items: center !important;
  min-height: 60px !important;
}

.footer-bottom-social-section {
  grid-area: social !important;
  justify-self: start !important;
  align-self: center !important;
}

.footer-bottom span:first-child {
  grid-area: copyright !important;
  justify-self: start !important;
  align-self: center !important;
}

#signature {
  grid-area: shoptet !important;
  justify-self: end !important;
  align-self: center !important;
}

/* Responsive design for footer bottom */
@media (max-width: 768px) {
  .footer-bottom-full-width .container {
    grid-template-areas: 
      "social"
      "copyright" 
      "shoptet" !important;
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  
  .footer-bottom-social-section {
    justify-self: center !important;
    margin-bottom: 15px !important;
  }
  
  .footer-bottom .copyright,
  #signature {
    justify-self: center !important;
    text-align: center !important;
  }
  
  .footer-bottom-social-text {
    font-size: 1.1rem !important;
  }
}
#signature a:hover {
  color: #CB4D93 !important;
}

/* Responsive design for footer bottom */
@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
    align-items: center !important;
  }
  
  .footer-bottom-social-section {
    justify-content: center;
    min-width: auto;
  }
  
  .footer-bottom .copyright,
  #signature {
    text-align: center !important;
    min-width: auto;
  }
}

/* Ensure all text in footer is white */
#footer,
#footer * {
  color: #ffffff !important;
}